home *** CD-ROM | disk | FTP | other *** search
- Path: dispatch.news.demon.net!demon!epma.demon.co.uk
- From: andy@epma.demon.co.uk (andy)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ---> AREXX File Deletion
- Date: Tue, 12 Mar 1996 00:09:22 GMT
- Message-ID: <858.6644T1153T2303@epma.demon.co.uk>
- References: <4hvakt$43r@mutt.mda.ca>
- NNTP-Posting-Host: epma.demon.co.uk
- X-NNTP-Posting-Host: epma.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
-
- >This should be a quick and easy one....
-
- >I want to be able to delete files from within AREXX, could someone
- >send me the code fragment I need to include? AREXX doesn't seem to
- >have deletion as a standard function, open and close but no delete.
-
- Just use the AmigaDOS command, i.e.
-
- --SNIP--
-
- /*
- Delete.rexx
- Code to delete a file through ARexx
- */
-
- ADDRESS 'COMMAND' /* This is not needed if run for CLI */
-
- SAY 'Enter a file name to delete'
- PULL File$
-
- 'Delete' File$
-
- --SNIP--
-
- If you have anymore questions just drop us a line.
-
-
- --
- +---------------------------------====#====-----------------------------+
- | Andy Savage - Amiga Multimedia Programmer |
- | Amiga, Drumming, Eastenders, Hamster, Tarantino and Worms fanatic |
- +---------------------------------====#====-----------------------------+
-
-